package com.sskj.common.enums;

import lombok.Getter;

// 视频质量枚举类
@Getter
public enum VideoQualityEnum {
    /**
     * 流畅 360p (480x360)
     */
    SMOOTH(1, "流畅", 360, 480, 360),

    /**
     * 标清 480p (640x480)
     */
    SD(2, "标清", 480, 640, 480),

    /**
     * 高清 720p (1280x720)
     */
    HD(3, "高清", 720, 1280, 720),

    /**
     * 超清 1080p (1920x1080)
     */
    FHD(4, "超清", 1080, 1920, 1080);

    private final Integer type;

    private final String name;

    private final Integer quality;

    private final Integer width;

    private final Integer height;

    VideoQualityEnum(Integer type, String name, Integer quality, Integer width, Integer height) {
        this.type = type;
        this.name = name;
        this.quality = quality;
        this.width = width;
        this.height = height;
    }
}
